<page-header [title]="'Page Name'">
</page-header>
<nz-card [nzBordered]="false">
  <form nz-form [formGroup]="form" (ngSubmit)="submit()" se-container="1" labelWidth="100">
    <se label="部门名称" error="请输入部门名称" required>
      <input nz-input formControlName="depName" name="depName" placeholder="给部门起个名称">
    </se>
    <se label="上级部门">
      <nz-select name="depSup" formControlName="depSup">
        <nz-option [nzLabel]="'无'" [nzValue]="'无'"></nz-option>
        <nz-option [nzLabel]="'技术部'" [nzValue]="'技术部'"></nz-option>
        <nz-option [nzLabel]="'销售部'" [nzValue]="'销售部'"></nz-option>
        <nz-option [nzLabel]="'产品部'" [nzValue]="'产品部'"></nz-option>
        <nz-option [nzLabel]="'企划部'" [nzValue]="'企划部'"></nz-option>
      </nz-select>
    </se>
    <se label="部门领导" error="请输入部门领导" required>
      <input nz-input name="depLead" formControlName="depLead" placeholder="">
    </se>
    <se label="目标描述" error="请输入部门描述">
      <textarea nz-input name="depDescribe" formControlName="depDescribe" [nzAutosize]="{minRows: 4}" placeholder="请输入部门描述"></textarea>
    </se>
    <se label="部门状态">
      <nz-radio-group name="depStatus" formControlName="depStatus">
        <label nz-radio nzValue="启用">启用</label>
        <label nz-radio nzValue="禁用">禁用</label>
      </nz-radio-group>
    </se>
    <se>
      <button nz-button nzType="primary" [disabled]="form.invalid" type="submit" [nzLoading]="submitting">提交</button>
    </se>
  </form>
</nz-card>
